package cn.zjweu.service;


import org.springframework.stereotype.Service;

import java.sql.Date;
import java.util.List;
import java.util.Map;

@Service
public interface BorrowService {

    int BorrowBook(int userId, int bookId, Date date);

    List<Map<String,Object>> getAllBorrowList();

    List<Map<String,Object>> getAllBorrowListById(int id);

    int deleteById(int id);

}
